import React from 'react'
import { browserHistory ,Link} from 'react-router'
import './BankCard.less'
import Enume from 'containers/Wallet/enume'
import filter from 'common/filter'
/**
 * 类别：组件
 * 功能：银行卡
 * 组件入参数：showCheckBox 是否展示选择框
 *           choosed 是否被选中
 */
class NoCard extends React.Component {
    constructor(props, context) {
        super(props, context);
        this.state = {
            accountStatus : 0,
            showMore : this.props.showMore
        }
    }
    render() {
        return (
        	<div className='bankCard' >
            {/* 银行卡图标 */}
                <div className="iconItem" >
                    <div className="icon">
                        <img src="" alt="" />
                    </div>
                </div>
            {/* */}
                <div className="content" style={{lineHeight:'0.7rem'}}>
                    未绑定银行卡
                </div>
            {/* */}
                <div className="float-right padding5 " >
                {
                    this.state.showMore ? <Link to="/addBankCard"  style={{lineHeight:'0.7rem'}}>
                        添加<i className="iconfont icon-right"/>
                    </Link> : ''
                }
                    
                    
                </div> 
        	</div>
        )
    }
}

export default NoCard
